package com.blakebarrett.model.media
{
	public class PositionalMediaInfo
	{
		public static function maxX (currentWidth:Number, regionWidth:Number) : Number {
			// this logic may change
			return (regionWidth - currentWidth);
		}

		public static function maxY (currentHeight:Number, regionHeight:Number) : Number {
			// this logic may change
			return (regionHeight - currentHeight);
		}

		public static function minX (currentWidth:Number, regionWidth:Number) : Number {
			// how much of the excess width overlapps the region's width
			return 0 - (regionWidth - currentWidth);
		}

		public static function minY (currentHeight:Number, regionHeight:Number) : Number {
			return 0 - (regionHeight - currentHeight);
		}

	}
}
